# include
s = b"hello"
print(f"{s = }")
print(f'{b"o" in s = }')
s1 = b"\x33"
s2 = b"\x1234"
s3 = b"\x12\x33\x34"
print(f"{s1 in s2 = }, {s2 == s3 = }")

# operation
print(f"{s * 2 = }, {s + s = }")
a, b = b"ab"
print(f"{chr(a) = }, {chr(b) = }")

# search
print(f"{chr(s[2]) = }")
print(f"{s[0:5:2] = }")

# static
print(f"{max(s) = }, {min(s) = }")
print(f'{len(s) = }, {s.count(b"l") = }')

# build
print(f'{bytes("abc","utf-8") = }')
print(f"{bytes([1,2,3]) = }, {bytes((1,2,3)) = }, {bytes({1,2,3}) = }")
print(f"{bytes(6) = }")
